package top.yuhaitao.core.mybatis.mapper;

import org.apache.ibatis.annotations.Param;
import top.yuhaitao.core.mybatis.dbo.TCar;
import top.yuhaitao.core.mybatis.dbo.TCarExample;

import java.util.List;

public interface TCarMapper {
    int countByExample(TCarExample example);

    int deleteByExample(TCarExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TCar record);

    int insertSelective(TCar record);

    List<TCar> selectByExample(TCarExample example);

    TCar selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TCar record, @Param("example") TCarExample example);

    int updateByExample(@Param("record") TCar record, @Param("example") TCarExample example);

    int updateByPrimaryKeySelective(TCar record);

    int updateByPrimaryKey(TCar record);
}